{
	name:"Circle",
	_extends : {
		key:"AbstractTool",
		path:"./paint_tool/abstract-tool.action"
	},
	tool:"./paint_tool/circles/circle.shape",
	onInit(){
		this.stepSize=2
		this.moveSize=1
		this.ctrlIndex = 2
	},
	getCircleMeta(stepData){
		let step = stepData.step
		let cp = step[0]
		let r = Math.distance(cp,step[1])
		return {x:cp.x,y:cp.y,r}
	}
}